export default {
  Insurance: {
    form: {
      fields: [
        'name',
        { property: 'fee', field_options: { label: '保险金额(元)' }},
        {
          property: 'pay',
          field_options: { label: '保费(元)' },
          help: '保费会直接入保费的钱包，保险金额-保费差额会入系统钱包'
        },
        {
          property: 'account',
          field_options: { label: '保费账号' }
        },
        {
          property: 'during',
          type: 'select',
          field_options: { label: '有效期' },
          type_options: {
            options: [
              { value: 'P1D', label: '24小时' }
            ]
          },
          default_value: 'P1D'
        },
        { property: 'enabled', field_options: { label: '是否可见' }, default_value: true },
        { property: 'description', field_options: { label: '保险简介' } },
        { property: 'comment', field_options: { label: '查询教程' } },

        // 'config'
      ]
    },
    list: {
      list_display: [
        'id',
        'name',
        { property: 'fee', label: '金额' },
        'comment',
        { property: 'enabled', label: '是否可见' }
      ]
    }
  }
}

